package cn.wind.xboot.logic.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 平台协议
 * </p>
 *
 * @author wind
 * @since 2018-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_contract")
public class Contract implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 浏览地址
     */
    private String href;

    /**
     * 协议类型 0注册协议
     */
    private Integer type;

    /**
     * 协议名称
     */
    private String title;

    /**
     * 删除状态：0未删除1已删除
     */
    private Integer isDeleted;

    private Long createBy;

    private Date createTime;

    private Long updateBy;

    private Date updateTime;


}
